<?php
$errMsg = "";
$regMsg = "";
if(@$_REQUEST['register'])
{
    require_once "register.php";
    if($errMsg != "")
    {
        echo $errMsg;
    }    
    elseif($regMsg != "")
        echo $regMsg."<br />";
        echo "<a href=\"/../../../index.php\"><h2>На главную</h2></a>";
}
?>
